package com.tian.factory.abstractfactory.factory;


import com.tian.factory.function.product.DaZhongBaolaiCar;
import com.tian.factory.function.product.DaZhongHuiTeng;
import com.tian.factory.function.product.DaZhongSuTeng;
import com.tian.factory.function.product.ICar;

/**
 * @author tiansongtao, Email:tiansongtao@up366.com
 * @date 2020/12/23 20:38
 */
public class DaZhongFactory implements IFactory {


    @Override
    public ICar createLowProduct() {
        return new DaZhongBaolaiCar();
    }

    @Override
    public ICar createMiddleProduct() {
        return new DaZhongSuTeng();
    }

    @Override
    public ICar createhighProduct() {
        return new DaZhongHuiTeng();
    }
}
